package com.mall.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tanhua.model.domain.SmsFlashPromotionProductRelation;

import java.util.List;

public interface SmsFlashPromotionProductRelationApi {
    Page list(Integer flashPromotionId, Integer flashPromotionSessionId, Page<SmsFlashPromotionProductRelation> page);

    void updateFlashProductRelation(SmsFlashPromotionProductRelation smsFlashPromotionProductRelation);

    void deleteFlashProductRelation(Long id);

    void createFlashProductRelation(List<SmsFlashPromotionProductRelation> relationList);
}
